﻿@model RBS.Core.Model.U_User

@{
    ViewBag.Title = "修改密码";
    Layout = "~/Views/Shared/_UserLayout.cshtml";
} 
 
<!--导航栏-->
@{
    @Html.Partial("_Location");
}
<!--/导航栏--> 
 
@using (Ajax.BeginForm(new AjaxOptions()))
{
    @Html.AntiForgeryToken()
    @Html.ValidationSummary(true)
    @Html.HiddenFor(model => model.Id)
    <div class="tab-content"> 
        <dl><dt>		
                当前密码</dt>
            <dd>
                         
                @Html.Password("OldPassWord", null, new {@class = "input normal", datatype = "*6-20", nullmsg = "请输入当前密码", errormsg = "密码范围在6-20位之间", sucmsg = " "})
                <span class="Validform_checktip"></span>
             
            </dd></dl>
        <dl><dt>		
                新的密码</dt>
            <dd>
                         
                @Html.Password("Password", null, new {@class = "input normal", datatype = "*6-20", nullmsg = "请输入新的密码", errormsg = "密码范围在6-20位之间", sucmsg = " "})
                <span class="Validform_checktip"></span> 
            </dd></dl>
        <dl><dt>		
                确认密码</dt>
            <dd>
                @Html.Password("ConfirmPassword", null, new {@class = "input normal", datatype = "*", recheck = "Password", nullmsg = "请再输入一次密码", errormsg = "两次输入的密码不一致", sucmsg = " "})
                <span class="Validform_checktip"></span>    
             
            </dd></dl>
	   
    </div>
    <!--/内容--> 
    <!--工具栏-->
<div class="page-footer">
    <div class="btn-list">
        <input type="submit" value="提交保存" class="btn" />
        <input name="btnReturn" type="button" value="返回上一页" class="btn yellow" onclick=" javascript: history.back(-1); " />

    </div>
    <div class="clear"></div>
</div>
    <!--/工具栏-->



}



 